package com.fmjava.service_video.feignClient;

import com.fmjava.service_video.feignClient.Impl.VodFeignClientFallBack;
import com.fmjava.utils.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name="service-vod",fallback = VodFeignClientFallBack.class)
public interface VideoClient {
    @GetMapping(value = "/service_vod/vod/deleteVod/{id}")
    public ResponseResult deleteVod(@PathVariable String id);
}
